package com.rabbiter.oes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "填空题答题历史")
@TableName(value = "fill_question_history")
public class FillQuestionHistory {

    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    @ApiModelProperty(value = "id")
    private String id;

    @TableField(value = "questionId")
    @ApiModelProperty(value = "试题编号")
    private Integer questionId;

    @TableField(value = "subject_id")
    @ApiModelProperty(value = "考试科目ID")
    private String subjectId;

    @TableField(exist = false)
    @ApiModelProperty(value = "考试科目")
    private String subject;

    @TableField(value = "question")
    @ApiModelProperty(value = "试题内")
    private String question;

    @TableField(value = "answer")
    @ApiModelProperty(value = "正确答案")
    private String answer;

    @TableField(value = "score")
    @ApiModelProperty(value = "分数")
    private Integer score;

    @TableField(value = "level")
    @ApiModelProperty(value = "难度等级")
    private String level;

    @TableField(value = "section")
    @ApiModelProperty(value = "所属章节")
    private String section;

    @TableField(value = "analysis")
    @ApiModelProperty(value = "题目解析")
    private String analysis;

    @TableField(value = "scoreId")
    @ApiModelProperty(value = "成绩id")
    private Integer scoreId;

    @TableField(value = "studentId")
    @ApiModelProperty(value = "学号")
    private Integer studentId;

    @TableField(value = "fill_in")
    @ApiModelProperty(value = "填写答案")
    private String fillIn;

    @TableField(value = "answer_time")
    @ApiModelProperty(value = "答题日期")
    private Date answerTime;

}
